const marketing = {
  state() {
    return {
      //添加类型
      addType: '',
      //新建或修改
      action: '',
      //修改信息
      editInfo: {}
    }
  },
  getters: {

  },
  mutations: {
    //添加类型
    addType(state, type) {
      state.addType = type
    },
    //新建或修改
    action(state, action) {
      state.action = action
    },
    //修改秒杀信息
    editInfo(state, editInfo) {
      state.editInfo = editInfo
    }
  },
  actions: {

  },
  modules: {

  }
}

export default marketing